package com.salt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.salt.entity.IdleAffiliateCpaCommissionConfig;

import java.math.BigDecimal;

/**
 * 闲鱼联盟CPA佣金配置服务接口
 */
public interface IdleAffiliateCpaCommissionConfigService extends IService<IdleAffiliateCpaCommissionConfig> {
    
    /**
     * 获取佣金金额
     * @param promotionType 推广类型：1-推荐新用户，2-推荐新朋友购买，3-用户标签
     * @return 佣金金额
     */
    BigDecimal getCommissionAmount(Integer promotionType);
} 